<?php

/**
 * Compatibility functions
 * for PHP < 5.2
 */


/**
 * array_fill_keys
 * @since 5.2
 */
if (!function_exists('array_fill_keys')) {
	
    function array_fill_keys(array $aKeys, $mValue){
        
        $aResult = array();
        
        foreach ($aKeys as $mKey){
            
            $aResult[$mKey] = $mValue;         
            
        } // foreach
        
        return $aResult;

    } // function
    
} // if

?>